<?php
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
 =======================================================================*/
include_once(NUKE_BASE_DIR.'header.php');
include_once('modules/'.$module_name.'/admin/UploadMenu.php');
OpenTable();
// 
echo"<table cellpadding=\"0\" cellspacing=\"10\" border=\"0\">
	<form action='".$admin_file.".php?op=Uploadimage' method=\"post\" enctype=\"multipart/form-data\" name=\"form1\" id=\"form1\">
		<tr>
			<td colspan='2'>
				<h1><u>General configuration</u></h1>
			</td>
		</tr>
		<tr>
			<td>
				Your domain: 
			</td>
			<td>
				<input name=\"domain\" type=\"test\" id=\"domain\" value=\"".$config['domain']."\" size=\"40\"/><font size=\"1\">* example: <strong>http://cmstutorials.org</strong></font>
			</td>
		</tr>
		<tr>
			<td>Path to your image folder:</td>
			<td><input name=\"path\" type=\"text\" id=\"path\" value=\"".$config['path']."\" size=\"40\"/> <font size=\"1\">* the default path should be fine</font></td>
		</tr>
		<tr>
			<td>Maximum Uploads:</td>
			<td><input name=\"maxuploads\" type=\"text\" id=\"maxuploads\" value=\"".$config['maxuploads']."\" size=\"10\"/></td>
		</tr>
		<tr>
			<td>Maximum Upload size:  </td>
			<td><input name=\"maxsize\" type=\"text\" id=\"maxsize\" value=\"".$config['maxsize']."\" size=\"10\"/> bytes (20000 = 20 kb)</td>
		</tr>
		<tr>
			<td align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"Submit\" value=\"Submit\" /></td>
		</tr>
		</table>
	</form>
";
CloseTable();
include_once(NUKE_BASE_DIR.'footer.php');
 ?>